package com.leadingsoft.pwxk.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.LicenseInfo;
import com.leadingsoft.pwxk.repository.LicenseInfoRepository;
import com.leadingsoft.pwxk.services.AbstractService;

/**
 * 
 * @author ysh
 * @desc 获取发证后-许可证发证信息-服务类
 */
@Service
public class LicenseInfoServiceImpl extends AbstractService<LicenseInfo> {

	@Autowired
	LicenseInfoRepository licenseInfoRepository;

	@Override
	public void saveAll(List<LicenseInfo> models) {
		licenseInfoRepository.saveAll(models);
	}

	@Override
	public void deleteAll() {
		licenseInfoRepository.deleteAll();
	}

	@Override
	public void save(LicenseInfo model) {
		licenseInfoRepository.save(model);
	}

}